package entity;

import java.util.List;

/**
 * Created by Administrator on 16-1-12.
 */
public class SchoolSelectEntity {

    /**
     * code : 1000
     * msg : 请求成功
     * data : {"auList":[{"area":{"id":1,"code":"101","name":"下沙高教园区"},"universityList":[{"id":2,"code":"10102","name":"中国计量大学","cityId":1,"areaId":1,"longitude":120.367939,"latitude":30.325699},{"id":13,"code":"10113","name":"浙江育英职业技术学院","cityId":1,"areaId":1,"longitude":120.357745,"latitude":30.310825},{"id":1,"code":"10101","name":"杭州电子科技大学","cityId":1,"areaId":1,"longitude":120.349879,"latitude":30.320131},{"id":6,"code":"10106","name":"浙江工商大学","cityId":1,"areaId":1,"longitude":120.395477,"latitude":30.31498},{"id":3,"code":"10103","name":"浙江理工大学","cityId":1,"areaId":1,"longitude":120.358296,"latitude":30.319699},{"id":7,"code":"10107","name":"浙江水利水电学院","cityId":1,"areaId":1,"longitude":120.380137,"latitude":30.319375},{"id":14,"code":"10114","name":"中国计量学院现代科技学院","cityId":1,"areaId":1,"longitude":120.382473,"latitude":30.326086},{"id":15,"code":"10115","name":"杭州师范大学","cityId":1,"areaId":1,"longitude":120.401321,"latitude":30.322134},{"id":12,"code":"10112","name":"浙江警官职业学院","cityId":1,"areaId":1,"longitude":120.366417,"latitude":30.319336},{"id":11,"code":"10111","name":"浙江经贸职业技术学院","cityId":1,"areaId":1,"longitude":120.38891,"latitude":30.32254},{"id":10,"code":"10110","name":"浙江经济职业技术学院","cityId":1,"areaId":1,"longitude":120.385513,"latitude":30.31438},{"id":9,"code":"10109","name":"浙江财经大学","cityId":1,"areaId":1,"longitude":120.400557,"latitude":30.324847},{"id":8,"code":"10108","name":"浙江金融职业学院","cityId":1,"areaId":1,"longitude":120.390093,"latitude":30.327169},{"id":5,"code":"10105","name":"杭州职业技术学院","cityId":1,"areaId":1,"longitude":120.359667,"latitude":30.326323},{"id":4,"code":"10104","name":"浙江传媒学院","cityId":1,"areaId":1,"longitude":120.350352,"latitude":30.326729},{"id":16,"code":"10116","name":"杭州师范大学钱江学院","cityId":1,"areaId":1,"longitude":120.401182,"latitude":30.322072}]},{"area":{"id":2,"code":"102","name":"西湖区"},"universityList":[{"id":18,"code":"10201","name":"瑞博国际学院","cityId":1,"areaId":2,"longitude":120.103226,"latitude":30.308752}]},{"area":{"id":4,"code":"104","name":"滨江高教园区"},"universityList":[{"id":19,"code":"10401","name":"浙江中医药大学","cityId":1,"areaId":4,"longitude":120.156287,"latitude":30.178932},{"id":20,"code":"10402","name":"浙江警察学院","cityId":1,"areaId":4,"longitude":120.156529,"latitude":30.176965},{"id":21,"code":"10403","name":"浙江机电职业技术学院","cityId":1,"areaId":4,"longitude":120.159589,"latitude":30.180251},{"id":22,"code":"10404","name":"浙江医学高等专科学校","cityId":1,"areaId":4,"longitude":120.166193,"latitude":30.179252},{"id":23,"code":"10405","name":"浙江艺术职业学院","cityId":1,"areaId":4,"longitude":120.162894,"latitude":30.18075},{"id":24,"code":"10406","name":"浙江商业职业技术学院","cityId":1,"areaId":4,"longitude":120.169703,"latitude":30.180539},{"id":29,"code":"10407","name":"浙江公安高等专科学校","cityId":1,"areaId":4,"longitude":120.156529,"latitude":30.176965}]},{"area":{"id":5,"code":"105","name":"小和山高教园区"},"universityList":[{"id":25,"code":"10501","name":"浙江工业大学（屏峰校区）","cityId":1,"areaId":5,"longitude":120.169703,"latitude":30.180539},{"id":26,"code":"10502","name":"浙江科技学院","cityId":1,"areaId":5,"longitude":120.034178,"latitude":30.225789},{"id":27,"code":"10503","name":"浙江外国语学院","cityId":1,"areaId":5,"longitude":120.041486,"latitude":30.22547},{"id":28,"code":"10504","name":"浙江长征职业技术学校","cityId":1,"areaId":5,"longitude":120.023261,"latitude":30.21262}]}]}
     */

    private int code;
    private String msg;
    private DataEntity data;

    public void setCode(int code) {
        this.code = code;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    public DataEntity getData() {
        return data;
    }

    public static class DataEntity {
        /**
         * area : {"id":1,"code":"101","name":"下沙高教园区"}
         * universityList : [{"id":2,"code":"10102","name":"中国计量大学","cityId":1,"areaId":1,"longitude":120.367939,"latitude":30.325699},{"id":13,"code":"10113","name":"浙江育英职业技术学院","cityId":1,"areaId":1,"longitude":120.357745,"latitude":30.310825},{"id":1,"code":"10101","name":"杭州电子科技大学","cityId":1,"areaId":1,"longitude":120.349879,"latitude":30.320131},{"id":6,"code":"10106","name":"浙江工商大学","cityId":1,"areaId":1,"longitude":120.395477,"latitude":30.31498},{"id":3,"code":"10103","name":"浙江理工大学","cityId":1,"areaId":1,"longitude":120.358296,"latitude":30.319699},{"id":7,"code":"10107","name":"浙江水利水电学院","cityId":1,"areaId":1,"longitude":120.380137,"latitude":30.319375},{"id":14,"code":"10114","name":"中国计量学院现代科技学院","cityId":1,"areaId":1,"longitude":120.382473,"latitude":30.326086},{"id":15,"code":"10115","name":"杭州师范大学","cityId":1,"areaId":1,"longitude":120.401321,"latitude":30.322134},{"id":12,"code":"10112","name":"浙江警官职业学院","cityId":1,"areaId":1,"longitude":120.366417,"latitude":30.319336},{"id":11,"code":"10111","name":"浙江经贸职业技术学院","cityId":1,"areaId":1,"longitude":120.38891,"latitude":30.32254},{"id":10,"code":"10110","name":"浙江经济职业技术学院","cityId":1,"areaId":1,"longitude":120.385513,"latitude":30.31438},{"id":9,"code":"10109","name":"浙江财经大学","cityId":1,"areaId":1,"longitude":120.400557,"latitude":30.324847},{"id":8,"code":"10108","name":"浙江金融职业学院","cityId":1,"areaId":1,"longitude":120.390093,"latitude":30.327169},{"id":5,"code":"10105","name":"杭州职业技术学院","cityId":1,"areaId":1,"longitude":120.359667,"latitude":30.326323},{"id":4,"code":"10104","name":"浙江传媒学院","cityId":1,"areaId":1,"longitude":120.350352,"latitude":30.326729},{"id":16,"code":"10116","name":"杭州师范大学钱江学院","cityId":1,"areaId":1,"longitude":120.401182,"latitude":30.322072}]
         */

        private List<AuListEntity> auList;

        public void setAuList(List<AuListEntity> auList) {
            this.auList = auList;
        }

        public List<AuListEntity> getAuList() {
            return auList;
        }

        public static class AuListEntity {
            /**
             * id : 1
             * code : 101
             * name : 下沙高教园区
             */

            private AreaEntity area;
            /**
             * id : 2
             * code : 10102
             * name : 中国计量大学
             * cityId : 1
             * areaId : 1
             * longitude : 120.367939
             * latitude : 30.325699
             */

            private List<UniversityListEntity> universityList;

            public void setArea(AreaEntity area) {
                this.area = area;
            }

            public void setUniversityList(List<UniversityListEntity> universityList) {
                this.universityList = universityList;
            }

            public AreaEntity getArea() {
                return area;
            }

            public List<UniversityListEntity> getUniversityList() {
                return universityList;
            }

            public static class AreaEntity {
                private int id;
                private String code;
                private String name;

                public void setId(int id) {
                    this.id = id;
                }

                public void setCode(String code) {
                    this.code = code;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public int getId() {
                    return id;
                }

                public String getCode() {
                    return code;
                }

                public String getName() {
                    return name;
                }
            }

            public static class UniversityListEntity {
                private int id;
                private String code;
                private String name;
                private int cityId;
                private int areaId;
                private double longitude;
                private double latitude;

                public void setId(int id) {
                    this.id = id;
                }

                public void setCode(String code) {
                    this.code = code;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public void setCityId(int cityId) {
                    this.cityId = cityId;
                }

                public void setAreaId(int areaId) {
                    this.areaId = areaId;
                }

                public void setLongitude(double longitude) {
                    this.longitude = longitude;
                }

                public void setLatitude(double latitude) {
                    this.latitude = latitude;
                }

                public int getId() {
                    return id;
                }

                public String getCode() {
                    return code;
                }

                public String getName() {
                    return name;
                }

                public int getCityId() {
                    return cityId;
                }

                public int getAreaId() {
                    return areaId;
                }

                public double getLongitude() {
                    return longitude;
                }

                public double getLatitude() {
                    return latitude;
                }
            }
        }
    }
}
